package com.ltmonitor.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.persistence.Table;

/**
 * 报警督办信息
 * 参考809协议文档4.5.5.2.2 报警督办请求消息
 * @author Administrator
 * 
 */
@Entity
@Table(name = "WarnMsgUrgTodoReq")
@org.hibernate.annotations.Proxy(lazy = false)
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class WarnMsgUrgeTodoReq extends TenantEntity {
	//新建
	public static int STATUS_NEW = 0;
	//已应答
	public static int STATUS_ACK = 1;
	//已处理
	public static int STATUS_PROCESS = 2;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	private long entityId;
	
	public WarnMsgUrgeTodoReq()
	{
		createDate = new Date();
	}

	public long getEntityId() {
		return entityId;
	}

	public void setEntityId(long value) {
		entityId = value;
	}
	
	private String plateNo;
	
	private int plateColor;
		

	private Integer vehicleId;
	//809报警来源
	private int warnSrc;
	//报警类型
	private int warnType;
    //报警时间
	private Date warnTime;
	//报警督办id
	private long supervicsionId;
	//报警督办截止时间
	private Date supervisionEndtime;
	//督办紧急级别
	private int supervisionLevel;
	//督办人
	private String supervisor;
	//督办人电话
	private String supervisorTel;
	//督办人邮箱
	private String supervisorEmail;


	private int result = 0;

	public Integer getVehicleId() {
		return this.vehicleId;
	}

	public void setVehicleId(Integer vehicleId) {
		this.vehicleId = vehicleId;
	}

	public int getWarnSrc() {
		return this.warnSrc;
	}

	public void setWarnSrc(int warnSrc) {
		this.warnSrc = warnSrc;
	}

	public int getWarnType() {
		return this.warnType;
	}

	public void setWarnType(int warnType) {
		this.warnType = warnType;
	}

	public Date getWarnTime() {
		return this.warnTime;
	}

	public void setWarnTime(Date warnTime) {
		this.warnTime = warnTime;
	}

	public long getSupervicsionId() {
		return this.supervicsionId;
	}

	public void setSupervicsionId(long supervicsionId) {
		this.supervicsionId = supervicsionId;
	}

	public Date getSupervisionEndtime() {
		return this.supervisionEndtime;
	}

	public void setSupervisionEndtime(Date supervisionEndtime) {
		this.supervisionEndtime = supervisionEndtime;
	}

	public int getSupervisionLevel() {
		return this.supervisionLevel;
	}

	public void setSupervisionLevel(int supervisionLevel) {
		this.supervisionLevel = supervisionLevel;
	}

	public String getSupervisor() {
		return this.supervisor;
	}

	public void setSupervisor(String supervisor) {
		this.supervisor = supervisor;
	}

	public String getSupervisorTel() {
		return this.supervisorTel;
	}

	public void setSupervisorTel(String supervisorTel) {
		this.supervisorTel = supervisorTel;
	}

	public String getSupervisorEmail() {
		return this.supervisorEmail;
	}

	public void setSupervisorEmail(String supervisorEmail) {
		this.supervisorEmail = supervisorEmail;
	}


	public int getResult() {
		return this.result;
	}

	public void setResult(int result) {
		this.result = result;
	}

	public String getPlateNo() {
		return plateNo;
	}

	public void setPlateNo(String plateNo) {
		this.plateNo = plateNo;
	}

	public int getPlateColor() {
		return plateColor;
	}

	public void setPlateColor(int plateColor) {
		this.plateColor = plateColor;
	}
}
